package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 回款（报表）
 * @author Administrator
 *
 */
@Entity
@Table(name = "ContractPayRegistView")
public class ContractPayRegistView {
	
	@Id
	private String id;
	private Date createTime;
	private Date updateTime;
	/** 回款金额 */
    @Column(name="nPaidSum")
    private float nAmount;
    /** 回款方式 */
    @Column(name="sPaidWay")
    private String sPaidWay;
    /** 回款时间 */
    @Column(name="dSchedulePayDate")
    private Date schedulePayDate;
    /** 汇款人 */
    @Column(name="sPayMan")
    private String sPayMan;
    /** 汇款人ID */
    @Column(name="sPayManID")
    private String sPayManID;
    /** 备注 */
    @Column(name="sMemo")
    private String sMemo;
    /** 合同Id */
    @Column(name="contractId")
    private String contractId;
    /** 合同类型 */
    @Column(name="contractType")
    private String contractType;
    @Column(name="orderArea")
    private String cOrderArea;
    private String superior;
    private String state;
    private String totalSum;
    private String industryInfo;
    /** 订货单位 */
	private java.lang.String orderUnit;
	/** 供方合同编号 */
	private java.lang.String supplierCode;
    /**
     * user_id(创建人id)
     */
    @ManyToOne
    @JoinColumn(unique = false)
    private User user;
    
	public java.lang.String getOrderUnit() {
		return orderUnit;
	}
	public void setOrderUnit(java.lang.String orderUnit) {
		this.orderUnit = orderUnit;
	}
	public java.lang.String getSupplierCode() {
		return supplierCode;
	}
	public void setSupplierCode(java.lang.String supplierCode) {
		this.supplierCode = supplierCode;
	}
	public String getTotalSum() {
		return totalSum;
	}
	public void setTotalSum(String totalSum) {
		this.totalSum = totalSum;
	}
	public String getIndustryInfo() {
		return industryInfo;
	}
	public void setIndustryInfo(String industryInfo) {
		this.industryInfo = industryInfo;
	}
	public float getnAmount() {
		return nAmount;
	}
	public void setnAmount(float nAmount) {
		this.nAmount = nAmount;
	}
	public Date getSchedulePayDate() {
		return schedulePayDate;
	}
	public void setSchedulePayDate(Date schedulePayDate) {
		this.schedulePayDate = schedulePayDate;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getsPaidWay() {
		return sPaidWay;
	}
	public void setsPaidWay(String sPaidWay) {
		this.sPaidWay = sPaidWay;
	}
	public String getsPayMan() {
		return sPayMan;
	}
	public void setsPayMan(String sPayMan) {
		this.sPayMan = sPayMan;
	}
	public String getsPayManID() {
		return sPayManID;
	}
	public void setsPayManID(String sPayManID) {
		this.sPayManID = sPayManID;
	}
	public String getsMemo() {
		return sMemo;
	}
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}
	public String getContractId() {
		return contractId;
	}
	public void setContractId(String contractId) {
		this.contractId = contractId;
	}
	public String getContractType() {
		return contractType;
	}
	public void setContractType(String contractType) {
		this.contractType = contractType;
	}
	public String getcOrderArea() {
		return cOrderArea;
	}
	public void setcOrderArea(String cOrderArea) {
		this.cOrderArea = cOrderArea;
	}
	public String getSuperior() {
		return superior;
	}
	public void setSuperior(String superior) {
		this.superior = superior;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}

}
